import { AppBaseEntity } from 'src/shared/database/baseEntity';
import { Column, Entity } from 'typeorm';

// SKU规格关联表
@Entity({
  name: 'sku_spec_value',
  comment: 'SKU规格关联表',
})
export class SkuSpecValue extends AppBaseEntity {
  @Column({
    comment: 'SKU id',
    name: 'sku_id',
  })
  skuId: number;

  @Column({
    comment: '规格值id',
    name: 'spec_value_id',
  })
  specValueId: number;
}
